Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Orientation Styles

Labels

ASCII
OrientationStyle
Binary
ornt (= 0x6F726E74 )

ORIENTATION STYLES

CounterClockwise            0x00000000
Clockwise                   0x00000001

Constant descriptions

CounterClockwise
The front face of a polygonal shape is defined using the righthand rule.
Clockwise
The front face of a polygonal shape is defined using the lefthand rule.

Data Format

OrientationEnum                         orientation
orientation
The value in this field must be one of these constants: CounterClockwise , Clockwise .

Data Size

4

Description

A scene's orientation style determines which side of a planar surface is considered (by the renderer) to be the "front" side. This style may be changed in order to change the orientation of a polygonal shape.

Parent Hierarchy

Shared, shape, style.

Parent Objects

None.

Child Objects

None.

Example

BeginGroup( DisplayGroup ( ) )
    OrientationStyle ( Clockwise )
    .
    .
    .
EndGroup ( )

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |